function setdatamode(mode)
htag = findobj('Tag', 'FileMode');
if(~ishandle(htag))
    QueMessage('? Cannot access filemode - using CC');
    mode = 'CC';
end
set(htag, 'Value', mode);
return;
